package com.kedao.util;

import java.util.Random;

public class SixRandom {

	public static String getCode() {
		int result = 0;
		Random rand = new Random();
		result = rand.nextInt(999999);
		return "000000".substring((result + "").length()) + result;
	}
	
	public static void main(String[] args) {
		System.out.println(SixRandom.getCode());
	}
}
